package com.bootdo.lgs.order.model;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public class OrderExcel {

    @ApiModelProperty(value = "上传的excel",required = true,example = "xxx.xls")
    private MultipartFile file;

    @ApiModelProperty(value = "上传的excel",hidden = true)
    private List<LgsOrder> addList;

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public List<LgsOrder> getAddList() {
        return addList;
    }

    public void setAddList(List<LgsOrder> addList) {
        this.addList = addList;
    }

    @Override
    public String toString() {
        return "OrderExcel{" +
                "file=" + file +
                ", addList=" + addList +
                '}';
    }
}
